package com.fms.gui.templateCreator.components.date.parts;

import com.fms.gui.templateCreator.components.date.ITimeInformer;

public class HourHand extends Hand
{
	private TimeAngleCalculator	time;
	private ITimeInformer	informer;

	public HourHand(ITimeInformer _informer)
	{
		this(new TimeAngleCalculator(), _informer);
	}
	
	public HourHand(TimeAngleCalculator _time, ITimeInformer _informer)
	{
		super(10.0, 60.0);
		this.time = _time;
		informer = _informer;
	}

	@Override
	protected double getAngle()
	{
		return time.angleForHour(informer.getHour(), informer.getMinute());
	}

	@Override
	public void moveTo(int x, int y)
	{
		
	}



}
